<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>Fresns 控制面板专业版</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    <header>
        <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
            <div class="container-fluid">
                <a class="navbar-brand" href="workplace.html"><i class="bi bi-gear"></i> 控制面板 <span class="badge bg-secondary fs-9">专业版</span></a>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#headerNavbar" aria-controls="headerNavbar" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse" id="headerNavbar">
                    <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                        <li class="nav-item"><a class="nav-link" href="workplace.html">首页</a></li>
                        <li class="nav-item"><a class="nav-link" href="settings.html">设置</a></li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="basis-language.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">基础设置</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="basis-language.html">多语言</a></li>
                                <li><a class="dropdown-item" href="basis-policies.html">政策条款</a></li>
                                <li><a class="dropdown-item" href="basis-delete.html">注销功能</a></li>
                            </ul>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle active" href="system-site.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">系统设置</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="system-site.html">站点设置</a></li>
                                <li><a class="dropdown-item" href="system-send.html">发信设置</a></li>
                                <li><a class="dropdown-item" href="system-user.html">用户设置</a></li>
                                <li><a class="dropdown-item" href="system-wallet.html">钱包设置</a></li>
                                <li><a class="dropdown-item" href="system-storage-image.html">存储设置</a></li>
                                <li><a class="dropdown-item" href="system-map.html">地图设置</a></li>
                            </ul>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="operating-rename.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">运营配置</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="operating-rename.html">命名配置</a></li>
                                <li><a class="dropdown-item" href="operating-interactive.html">互动配置</a></li>
                                <li><a class="dropdown-item" href="operating-emoji.html">表情配置</a></li>
                                <li><a class="dropdown-item" href="operating-publish-post.html">发表配置</a></li>
                                <li><a class="dropdown-item" href="operating-filter.html">过滤配置</a></li>
                                <li><a class="dropdown-item" href="operating-role.html">用户角色</a></li>
                                <li><a class="dropdown-item" href="operating-group.html">内容小组</a></li>
                            </ul>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="expand-editor.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">扩展管理</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="expand-editor.html">编辑器扩展</a></li>
                                <li><a class="dropdown-item" href="expand-type.html">内容类型扩展</a></li>
                                <li><a class="dropdown-item" href="expand-manage.html">管理扩展</a></li>
                                <li><a class="dropdown-item" href="expand-group.html">小组扩展</a></li>
                                <li><a class="dropdown-item" href="expand-userfeature.html">用户功能扩展</a></li>
                                <li><a class="dropdown-item" href="expand-userprofile.html">用户资料扩展</a></li>
                            </ul>
                        </li>
                    </ul>
                    <div class="navbar-nav">
                        <div class="btn-group d-flex flex-column">
                            <button type="button" class="btn btn-outline-light btn-sm dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"><i class="bi bi-translate"></i> 简体中文 - Chinese (Simplified)</button>
                            <ul class="dropdown-menu">
                                <li><a class="dropdown-item" href="#">English - English</a></li>
                                <li><a class="dropdown-item" href="#">Español - Spanish</a></li>
                                <li><a class="dropdown-item" href="#">Français - French</a></li>
                                <li><a class="dropdown-item" href="#">日本語 - Japanese</a></li>
                                <li><a class="dropdown-item" href="#">한국어 - Korean</a></li>
                                <li><a class="dropdown-item" href="#">Русский - Russian</a></li>
                                <li><a class="dropdown-item" href="#">Português - Portuguese</a></li>
                                <li><a class="dropdown-item" href="#">Bahasa Indonesia - Indonesian</a></li>
                                <li><a class="dropdown-item" href="#">简体中文 - Chinese (Simplified)</a></li>
                                <li><a class="dropdown-item" href="#">繁體中文 - Chinese (Traditional)</a></li>
                            </ul>
                        </div>
                        <div class="ms-lg-3 my-3 my-lg-0"><a class="btn btn-outline-warning btn-sm" href="index.html" role="button">退出</a></div>
                    </div>
                </div>
            </div>
        </nav>
    </header>

    <main>
        <div class="container-fluid">
            <div class="row">
                <!--菜单 开始-->
                <div class="col-lg-2 fresns-sidebar mt-3 mt-lg-0">
                    <nav class="navbar navbar-expand-lg navbar-light flex-lg-column shadow" style="background-color:#e3f2fd;">
                        <div class="container-fluid d-lg-flex flex-lg-column">
                            <span class="navbar-brand">系统</span>
                            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                                <span class="navbar-toggler-icon"></span>
                            </button>
                            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                                <ul class="navbar-nav d-flex flex-column">
                                    <li class="nav-item"><a class="nav-link" href="system-site.html">站点设置</a></li>
                                    <li class="nav-item"><a class="nav-link" href="system-send.html">发信设置</a></li>
                                    <li class="nav-item"><a class="nav-link" href="system-user.html">用户设置</a></li>
                                    <li class="nav-item"><a class="nav-link" href="system-wallet.html">钱包设置</a></li>
                                    <li class="nav-item"><a class="nav-link active" href="system-storage-image.html">存储设置</a></li>
                                    <li class="nav-item"><a class="nav-link" href="system-map.html">地图设置</a></li>
                                    <li class="nav-item d-block d-lg-none my-3 text-secondary">Powered by Fresns</li>
                                </ul>
                            </div>
                        </div>
                        <div class="fresns-copyright d-none d-lg-block">Powered by Fresns</div>
                    </nav>
                </div>
                <!--菜单 结束-->
                <!--设置区域 开始-->
                <div class="col-lg-10 fresns-setting mt-3 mt-lg-0 p-lg-3">
                    <div class="bg-body mb-2 p-3 p-lg-5">
                        <div class="row mb-5">
                            <div class="col-lg-7">
                                <h3>存储设置</h3>
                                <p class="text-secondary">四种资源文件可分开存储，也可存储在同一处，只需将存储配置信息填写一致即可。</p>
                            </div>
                            <div class="col-lg-5">
                                <div class="input-group mt-2 mb-4 justify-content-lg-end">
                                    <a class="btn btn-outline-secondary" href="#" role="button">帮助说明</a>
                                </div>
                            </div>
                            <ul class="nav nav-tabs nav-fill">
                                <li class="nav-item"><a class="nav-link" href="system-storage-image.html">图片存储设置</a></li>
                                <li class="nav-item"><a class="nav-link" href="system-storage-video.html">视频存储设置</a></li>
                                <li class="nav-item"><a class="nav-link" href="system-storage-audio.html">音频存储设置</a></li>
                                <li class="nav-item"><a class="nav-link active" href="system-storage-doc.html">文档存储设置</a></li>
                                <li class="nav-item"><a class="nav-link" href="system-storage-repair.html">补位图设置</a></li>
                            </ul>
                        </div>
                        <!--表单 开始-->
                        <form>
                            <!--存储配置-->
                            <div class="row mb-4">
                                <label for="account_policies" class="col-lg-2 col-form-label text-lg-end">存储配置：</label>
                                <div class="col-lg-6">
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">存储服务商</label>
                                        <select class="form-select" id="docs_service">
                                            <option value="">不启用</option>
                                            <option value="2">本地存储（业务服务器）</option>
                                            <option value="3">WebDAV</option>
                                            <option value="4">Amazon S3</option>
                                            <option value="5">Backblaze B2</option>
                                            <option value="6">Dropbox</option>
                                            <option value="7">Microsoft OneDrive</option>
                                            <option value="8">Microsoft Azure File Storage Service</option>
                                            <option value="9" selected>Microsoft Azure Blob Storage Service</option>
                                            <option value="10">Google Cloud Storage</option>
                                            <option value="11">Google Drive</option>
                                            <option value="12">OpenStack Swift</option>
                                            <option value="13">Box</option>
                                            <option value="14">DigitalOcean Object Storage</option>
                                            <option value="15">Linode Object Storage</option>
                                            <option value="16">Vultr Object Storage</option>
                                            <option value="17">七牛云 对象存储 Kodo</option>
                                            <option value="18">又拍云 云存储 USS</option>
                                            <option value="19">阿里云 对象存储 OSS</option>
                                            <option value="20">腾讯云 对象存储 COS</option>
                                            <option value="21">网易蜂巢 NOS</option>
                                            <option value="22">UCloud 对象存储 UFile</option>
                                            <option value="23">华为云 OBS</option>
                                            <option value="24">金山云 KS3</option>
                                            <option value="25">华云数据 COS</option>
                                            <option value="26">天翼云 CT-OOS</option>
                                        </select>
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">Secret ID</label>
                                        <input type="text" class="form-control" id="docs_secret_id">
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">Secret Key</label>
                                        <input type="text" class="form-control" id="docs_secret_key">
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">存储配置名称</label>
                                        <input type="text" class="form-control" id="docs_bucket_name">
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">存储配置地域</label>
                                        <input type="text" class="form-control" id="docs_bucket_area">
                                    </div>
                                    <div class="input-group">
                                        <label class="input-group-text w-25">存储配置域名</label>
                                        <input type="url" class="form-control" id="docs_bucket_domain">
                                    </div>
                                </div>
                                <div class="col-lg-4 form-text pt-1"><i class="bi bi-info-circle"></i> 存储服务商可在应用商店安装更多选择；<br><i class="bi bi-info-circle"></i> 存储配置地域，用不到则留空；<br><i class="bi bi-info-circle"></i> 存储配置域名以 http:// 或 https:// 开头，结尾不带 /</div>
                            </div>
                            <!--功能配置-->
                            <div class="row mb-4">
                                <label for="account_policies" class="col-lg-2 col-form-label text-lg-end">功能配置：</label>
                                <div class="col-lg-6">
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">支持的扩展名</label>
                                        <input type="text" class="form-control" id="docs_ext" placeholder="doc,docx,xls,xlsx,csv,ppt,pptx,pdf,md,zip,epub,mobi,7z,rar,markdown,pps,ppts,txt">
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">支持的最大尺寸</label>
                                        <input type="text" class="form-control" id="docs_max_size">
                                        <label class="input-group-text">MB</label>
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">防盗链功能</label>
                                        <div class="form-control bg-body">
                                            <div class="form-check form-check-inline">
                                                <input class="form-check-input" type="radio" name="docs_url_status" id="docs_url_status_false" value="false" data-bs-toggle="collapse" data-bs-target="#docs_url_status_setting.show" aria-expanded="false" aria-controls="docs_url_status_setting" checked>
                                                <label class="form-check-label" for="docs_url_status_false">关闭</label>
                                            </div>
                                            <div class="form-check form-check-inline">
                                                <input class="form-check-input" type="radio" name="docs_url_status" id="docs_url_status_true" value="true" data-bs-toggle="collapse" data-bs-target="#docs_url_status_setting:not(.show)" aria-expanded="false" aria-controls="docs_url_status_setting">
                                                <label class="form-check-label" for="docs_url_status_true">开启</label>
                                            </div>
                                        </div>
                                    </div>
                                    <!--防盗链功能 开始-->
                                    <div class="collapse" id="docs_url_status_setting">
                                        <div class="input-group mb-3">
                                            <label class="input-group-text w-25">防盗链 Key</label>
                                            <input type="text" class="form-control" id="docs_url_key">
                                        </div>
                                        <div class="input-group mb-3">
                                            <label class="input-group-text">防盗链签名有效期</label>
                                            <input type="text" class="form-control" id="docs_url_expire">
                                            <span class="input-group-text">分钟</span>
                                        </div>
                                    </div>
                                    <!--防盗链功能 结束-->
                                </div>
                                <div class="col-lg-4 form-text pt-1"><i class="bi bi-info-circle"></i> 如果插件不支持防盗链功能，请勿开启，否则将导致资源无法访问。</div>
                            </div>
                            <!--在线预览配置-->
                            <div class="row mb-4">
                                <label for="account_policies" class="col-lg-2 col-form-label text-lg-end">在线预览配置：</label>
                                <div class="col-lg-6">
                                    <div class="input-group mb-3">
                                        <label class="input-group-text w-25">预览地址规则</label>
                                        <input type="text" class="form-control" id="docs_online_preview">
                                    </div>
                                    <div class="input-group mb-3">
                                        <label class="input-group-text">支持预览的扩展名</label>
                                        <input type="text" class="form-control" id="docs_preview_ext" placeholder="doc,docx,xls,xlsx,csv,ppt,pptx,pps,ppts,pdf">
                                    </div>
                                </div>
                                <div class="col-lg-4 form-text pt-1"><i class="bi bi-info-circle"></i> 输入框任意一个留空，均代表不开启预览功能。文件地址变量名 {file}</div>
                            </div>
        
                            <!--保存按钮-->
                            <div class="row mt-5">
                                <div class="col-lg-2"></div>
                                <div class="col-lg-8">
                                    <button type="submit" class="btn btn-primary">提交保存</button>
                                </div>
                            </div>
                        </form>
                        <!--表单 结束-->
                    </div>
                    
                    <footer>
                        <div class="copyright text-center">
                            <p class="mt-5 mb-5 text-muted">&copy; 2021 Fresns</p>
                        </div>
                    </footer>
                </div>
                <!--设置区域 结束-->
            </div>
        </div>
    </main>

    <script src="../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../assets/javascript/admin.js"></script>
</body>

</html>